package com.socket.entity;

import java.util.List;

/**
 * Created by sh04799 on 2017/10/23.
 */

public class TimEntity {
    int lat;
    int lon;
    int altitude;
    int viewAngle;
    int mutcdCode;

    int startYear;
    int startTime;
    int durationTime;

    int priority;//优先级

    int commonAnchor_lat;//起点
    int commonAnchor_lon;
    int commonAnchor_elevation;
    int commonLaneWidth;//车道宽度
    int commonDirectionality;
    List<PositionOffset> nodeList;//

    public TimEntity() {
    }

    public TimEntity(int lon, int lat, int altitude, int viewAngle, int mutcdCode, int startYear, int startTime, int durationTime, int priority, int commonAnchor_lat,
                     int commonAnchor_lon, int commonAnchor_elevation, int commonLaneWidth, int commonDirectionality,
                     List<PositionOffset> nodeList) {
        this.lon = lon;
        this.lat = lat;
        this.altitude = altitude;
        this.viewAngle = viewAngle;
        this.mutcdCode = mutcdCode;
        this.startYear = startYear;
        this.startTime = startTime;
        this.durationTime = durationTime;
        this.priority = priority;
        this.commonAnchor_lat = commonAnchor_lat;
        this.commonAnchor_lon = commonAnchor_lon;
        this.commonAnchor_elevation = commonAnchor_elevation;
        this.commonLaneWidth = commonLaneWidth;
        this.commonDirectionality = commonDirectionality;
        this.nodeList = nodeList;
    }

    public int getLon() {
        return lon;
    }

    public void setLon(int lon) {
        this.lon = lon;
    }

    public int getLat() {
        return lat;
    }

    public void setLat(int lat) {
        this.lat = lat;
    }

    public int getAltitude() {
        return altitude;
    }

    public void setAltitude(int altitude) {
        this.altitude = altitude;
    }

    public int getViewAngle() {
        return viewAngle;
    }

    public void setViewAngle(int viewAngle) {
        this.viewAngle = viewAngle;
    }

    public int getMutcdCode() {
        return mutcdCode;
    }

    public void setMutcdCode(int mutcdCode) {
        this.mutcdCode = mutcdCode;
    }

    public int getStartYear() {
        return startYear;
    }

    public void setStartYear(int startYear) {
        this.startYear = startYear;
    }

    public int getStartTime() {
        return startTime;
    }

    public void setStartTime(int startTime) {
        this.startTime = startTime;
    }

    public int getDurationTime() {
        return durationTime;
    }

    public void setDurationTime(int durationTime) {
        this.durationTime = durationTime;
    }

    public int getPriority() {
        return priority;
    }

    public void setPriority(int priority) {
        this.priority = priority;
    }

    public int getCommonAnchor_lat() {
        return commonAnchor_lat;
    }

    public void setCommonAnchor_lat(int commonAnchor_lat) {
        this.commonAnchor_lat = commonAnchor_lat;
    }

    public int getCommonAnchor_lon() {
        return commonAnchor_lon;
    }

    public void setCommonAnchor_lon(int commonAnchor_lon) {
        this.commonAnchor_lon = commonAnchor_lon;
    }

    public int getCommonAnchor_elevation() {
        return commonAnchor_elevation;
    }

    public void setCommonAnchor_elevation(int commonAnchor_elevation) {
        this.commonAnchor_elevation = commonAnchor_elevation;
    }

    public int getCommonLaneWidth() {
        return commonLaneWidth;
    }

    public void setCommonLaneWidth(int commonLaneWidth) {
        this.commonLaneWidth = commonLaneWidth;
    }

    public int getCommonDirectionality() {
        return commonDirectionality;
    }

    public void setCommonDirectionality(int commonDirectionality) {
        this.commonDirectionality = commonDirectionality;
    }

    public List<PositionOffset> getNodeList() {
        return nodeList;
    }

    public void setNodeList(List<PositionOffset> nodeList) {
        this.nodeList = nodeList;
    }

	@Override
	public String toString() {
		return "TimEntity [lat=" + lat + ", lon=" + lon + ", altitude="
				+ altitude + ", viewAngle=" + viewAngle + ", mutcdCode="
				+ mutcdCode + ", startYear=" + startYear + ", startTime="
				+ startTime + ", durationTime=" + durationTime + ", priority="
				+ priority + ", commonAnchor_lat=" + commonAnchor_lat
				+ ", commonAnchor_lon=" + commonAnchor_lon
				+ ", commonAnchor_elevation=" + commonAnchor_elevation
				+ ", commonLaneWidth=" + commonLaneWidth
				+ ", commonDirectionality=" + commonDirectionality
				+ ", nodeList=" + nodeList + "]";
	}
    
}
